var concat = require('concat')
var exec = require('child_process').exec;
//ng2笔记
var fileArr = require('./config');

//学生笔记
var stuFileArr = require('./stu_note_conf');


concat(fileArr, 'ng2-all.md', function (error) {
    console.log("ng2笔记 done================");
})
concat(stuFileArr, 'stu_note.md', function (error) {
    console.log("ng2笔记 done================");
})

//生成ng2文档
exec('i5ting_toc -f ng2-all.md');
exec('i5ting_toc -f stu_note.md');
// setTimeout(()=>{
//     exec('start ./preview/ng2-all.html');
//     console.log("done");
// },1000);


